<div class="nav">
    <a class="sel" href="{:U('index')}">会员等级列表</a>
    <a href="{:U('add')}">添加会员等级</a>
</div>
<div class="list">
    <table class="table_list">
        <thead><tr>
                <td>等级名称</td>
                <td>会员等级图标</td>
                <td>会员等级名称</td>
                <td>积分要求</td>
                <td>折扣</td>
                <td>操作</td>
            </tr>
        </thead>
        <tbody>
        <foreach name="list" item="list">
            <tr>
                <td>Lv{$list.level_id}</td>
                <td><if condition="!empty($list['ico'])"><img src="__ROOT__{$list.ico}" width="19px" /></if></td>
                <td>{$list.level_name}</td>
                <td>{$list.point_up}</td>
                <td>{$list.discount}%</td>
                <td><a class="btn_a" href="{:U('edit',Array('level_id'=>$list['level_id']))}">修改</a><if condition="$list['level_id'] gt 1"> &nbsp; <a class="btn_a2" href="{:U('del',Array('level_id'=>$list['level_id']))}">删除</a></if></td>
            </tr>
        </foreach>
        </tbody>
        <tfoot>
            <tr><td colspan="7"><div class="page">{$page}</div></td></tr>
        </tfoot>
    </table>
</div>
